"use strict";
var __extends = (this && this.__extends) || function (d, b) {
    for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
    function __() { this.constructor = d; }
    d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
var React = require("react");
var ReactDOM = require("react-dom");
var electron = require('electron');
var Css = require('../../工具代码/Css加载');
Css.加载(module.filename);
var ____1 = require('../../组件代码/容器组件/登录表单');
var ipcR = electron.ipcRenderer;
var R标题栏 = (function (_super) {
    __extends(R标题栏, _super);
    function R标题栏(props) {
        _super.call(this, props);
    }
    R标题栏.prototype.render = function () {
        return (React.createElement("div", {className: "标题栏"}, React.createElement("span", {id: "标题", className: "标题"}, "电讯 atwxa.com"), React.createElement("span", {id: "托盘按钮", className: "按钮 托盘 小", onClick: function () {
            ipcR.send('托盘窗口');
        }}, React.createElement("i", {className: "iconfont icon-arrowbottom"})), React.createElement("span", {id: "关闭按钮", className: "按钮 警告 小", onClick: function () {
            ipcR.send('关闭窗口');
        }}, React.createElement("i", {className: "iconfont icon-guanbi"}))));
    };
    return R标题栏;
}(React.Component));
var R登录主窗体 = (function (_super) {
    __extends(R登录主窗体, _super);
    function R登录主窗体(props) {
        _super.call(this, props);
    }
    R登录主窗体.prototype.render = function () {
        return (React.createElement("div", {className: "切换按钮组"}, React.createElement("div", {id: "扫码登录", "data-xuanze": '假', className: "按钮 默认 组", onClick: function () {
        }}, "扫码登录"), React.createElement("div", {id: "登录", "data-xuanze": '真', className: "按钮 默认 组", onClick: function () {
        }}, "密码登录"), React.createElement("div", {id: "验证登录", "data-xuanze": '假', className: "按钮 默认 组", onClick: function () {
        }}, "验证登录")));
    };
    return R登录主窗体;
}(React.Component));
var R登录页面 = (function (_super) {
    __extends(R登录页面, _super);
    function R登录页面(props) {
        _super.call(this, props);
    }
    R登录页面.prototype.render = function () {
        return (React.createElement("div", null, React.createElement(R标题栏, null), React.createElement(____1.default, null), React.createElement(R登录主窗体, null)));
    };
    return R登录页面;
}(React.Component));
ReactDOM.render(React.createElement(R登录页面, null), document.getElementById("容器"));
